package jee.boot.module;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.context.annotation.ComponentScan;

import java.util.TimeZone;

@EnableCaching
@EnableConfigServer
@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan(value = "jee.boot")
public class ConfigServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConfigServiceApplication.class, args);
        TimeZone.setDefault(TimeZone.getTimeZone("GMT+8"));
    }
}
